package cn.edu.ujn.finaltest.service;

import java.util.List;

import cn.edu.ujn.finaltest.dao.Customer;
import cn.edu.ujn.finaltest.util.Page;

public interface ICustomerService {
	int deleteByPrimaryKey(Integer custId);

    int insert(Customer row);

    int insertSelective(Customer row);

    Customer selectByPrimaryKey(Integer custId);

    int updateByPrimaryKeySelective(Customer row);

    int updateByPrimaryKey(Customer row);
    
    // 客户列表
    public Page<Customer> findCustomerList(Integer page, Integer rows, 
            String custName,String custSource,
            String custIndustry,String custLevel);

   	
   	// 客户数
   	public Integer selectCustomerListCount(Customer customer);

}
